package org.bt.common.validator.number.decimal;

import java.math.BigDecimal;

/**
 * Check that the number being validated is greater than or equal to the minimum
 * value specified.
 *
 * @author tongw
 */
public class DecimalMinValidatorForBigDecimal extends AbstractDecimalMinValidator<BigDecimal> {

    @Override
    protected int compare(BigDecimal number) {
        return DecimalNumberComparatorHelper.compare(number, minValue);
    }
}
